//
//  HomeCollectionCell.m
//  OnlyOne
//
//  Created by lanou on 16/5/4.
//  Copyright © 2016年 psf. All rights reserved.
//

#import "HomeCollectionCell.h"
#import "HomeListModel.h"

@implementation HomeCollectionCell

- (void)setDataWithModel:(HomeListModel *)model {
    self.numLabel.text = [NSString stringWithFormat:@"%@",model.hp_title];
    self.authorLabel.text = model.hp_author;
    self.contentLabel.text = model.hp_content;
    self.collectionLabel.text = [NSString stringWithFormat:@"%@",model.praisenum];
    self.dateLabel.text = [NSString stringWithFormat:@"%@",model.hp_makettime];
    [self.ingVIEW sd_setImageWithURL:[NSURL URLWithString:model.hp_img_url]];
}


@end
